﻿@model MobileSales.Website.Models.LogOnModel

@{
    View.Title = Strings.Login;
}

<h2>@Strings.Login</h2>
<!--<p>
    Please enter your username and password. @Html.ActionLink("Register", "Register") if you don't have an account.
</p>-->
@Html.ValidationSummary(true)

@using (Html.BeginForm()) {
    <div>
        <fieldset>
            <legend>@Strings.Fields</legend>

            <div class="editor-label">
                @ModelStrings.Login
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </div>

            <div class="editor-label">
                @ModelStrings.Password
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="editor-label">
                @Html.CheckBoxFor(m => m.RememberMe)
                @Strings.RememberMe
            </div>
            <br />
            @Html.ActionLink(Strings.RemindPassword, "Remind")
            <p>
                <input type="submit" value="@Strings.Login" />
            </p>
        </fieldset>
    </div>
}
